package com.wss.day03;

/**
 * @author wangshaoshuai
 * @desc TODO
 * @date 2025/4/21
 */
public class EmployeeUtil {
    public static void bonus(Employee e) {
        if (e.getSalary() > 10000) {
            e.setSalary(e.getSalary() * 1.2);
        } else {
            e.setSalary(e.getSalary() * 1.1);
        }
    }
}
